package com.example.addressbook.perspectives;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import com.example.addressbook.ids.AddressBook;
import com.example.addressbook.views.AddressList;

public class AddressesPersprective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.addView(AddressBook.VIEW_ID_ADDRESS_LIST, IPageLayout.LEFT, 0.25f, layout.getEditorArea());
		layout.addView(AddressBook.VIEW_ID_ADDRESS, IPageLayout.LEFT, 1.0f, layout.getEditorArea());
		layout.addView(AddressBook.VIEW_ID_MAPS, IPageLayout.BOTTOM, 0.3f, AddressBook.VIEW_ID_ADDRESS);
	}
	
}
